projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e5873
)
(Basic Completion): Completion alists are risky.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 2 Feb 2006 16:34:58 +0000
(16:34 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 2 Feb 2006 16:34:58 +0000
(16:34 +0000)
lispref/minibuf.texi
patch
|
blob
|
history
diff --git
a/lispref/minibuf.texi
b/lispref/minibuf.texi
index 6f98785f69ffde0b31830f18832d2bf6ec165fc5..c0990bae3ee01ddcc2ce64e431eb49817a6f24cb 100644
(file)
--- a/
lispref/minibuf.texi
+++ b/
lispref/minibuf.texi
@@
-583,6
+583,10
@@
themselves to do with minibuffers. We describe them in this chapter
so as to keep them near the higher-level completion features that do
use the minibuffer.
+ If you store a completion alist in a variable, you should mark the
+variable as ``risky'' with a non-@code{nil}
+@code{risky-local-variable} property.
+
@defun try-completion string collection &optional predicate
This function returns the longest common substring of all possible
completions of @var{string} in @var{collection}. The value of